package Demo5;

interface A{
    void TestA();
}
interface B extends A{
    void TestB();
}

class TestDemo implements B{

    @Override
    public void TestA() {
        System.out.println("TestA()");
    }
    @Override
    public void TestB() {
        System.out.println("TestB()");
    }
}
public class Test {
    public static void main(String[] args) {
        TestDemo testDemo = new TestDemo();
        testDemo.TestA();
        testDemo.TestB();
    }
}
